In This Topic
Nevron Open Vision (NOV) provides a full set of classes for working with XML files. The two most popular models for working with XML are fully supported:
- Document Object Model (DOM) - loads the whole XML document into memory, which makes it easy to iterate over the XML tree, for example to a child or to the parent of a given node. This convenience, however, is at the cost of performance and memory usage. The model relies on the NXmlDocument and NXmlNode classes for building a hierarchy that represents the XML data.
- Simple API for XML (SAX) - represents a fast, forward-only reading/writing of XML data, which gives you access only to the current node, but is extremely memory efficient and very fast even for large XML files. This model relies on the NXmlReader and NXmlWriter classes for reading and writing the XML data. A drawback of the SAX model is that it does not provide any validation of the XML data, as it does not load the XML data as a whole, but rather token by token. That is why XML data validation is performed only by the Document Object Mode.
All classes related to XML processing are located in the Nevron.Nov.Xml namespace.
See Also